package com.makemoney.miniprogram.modules.users.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.makemoney.miniprogram.modules.users.entity.Resources;
import com.makemoney.miniprogram.modules.users.entity.RoleResource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleResourceMapper extends BaseMapper<RoleResource> {
    List<Resources> listByRoleKey(@Param("roleKey") String roleKey);
}
